﻿namespace SE.PO.CInterface.Web.Clients;

public abstract class ClientBase
{
    protected readonly IConfiguration Configuration;
    protected readonly IHttpClientFactory ClientFactory;
    protected readonly string BaseUrl;
    public abstract string GetRoute();

    protected ClientBase(IHttpClientFactory clientFactory, IConfiguration configuration)
    {
        ClientFactory = clientFactory;
        Configuration = configuration;
        BaseUrl = Configuration["BaseUrl"]??"localhost:18108";
    }

    
}